package com.anjie.powerproject.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
public class MAverage {
    @Id
    Long id;

    Integer year;

    Integer month;

    @Column(name = "m_average_max")
    Double mAverageMax;

    @Column(name = "m_average_min")
    Double mAverageMin;
}
